package com.qiaofang.collectmanage.stub.response;

import com.qiaofang.collectmanage.stub.bean.CollectRuleDTO;
import com.qiaofang.collectmanage.stub.bean.GetCollectRuleDTO;
import com.qiaofang.common.response.CommonResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;

@ApiModel(value = "通过实体获取采集规则实体响应")
public class GetCollectRuleResponse extends CommonResponse {

	@ApiModelProperty(value = "通过uuid获取采集规则实体")
	@Valid
	private CollectRuleDTO data;

	public GetCollectRuleResponse(){}

	public GetCollectRuleResponse(String code,String msg){
		super(code,msg);
	}
	public CollectRuleDTO getData() {
		return data;
	}

	public void setData(CollectRuleDTO data) {
		this.data = data;
	}
}
